package com.rhyton.component.upload.dao;

import java.io.File;
import java.util.List;

import org.springframework.dao.DataAccessException;

import com.rhyton.component.upload.domain.AttactFile;

public interface UpDownloadFileDao {

    File getFile(AttactFile attactFile);

    void upload(AttactFile af) throws DataAccessException;

    void deleteFile(AttactFile attactFile) throws DataAccessException;

    void deleteByFileIds(List<AttactFile> attactFiles) throws DataAccessException;
}
